import { RouteRecordRaw } from "vue-router"
import SiteLayout from "@/layout/index.vue"

// 会员管理路由
const userRoutes: RouteRecordRaw[] = [
    {
        path: '/user',
        component: SiteLayout,
        meta: {
            title: '会员管理',
        },
        children: [
            {
                path: 'list',
                component: () => import('@/views/user/list.vue'),
                meta: {
                    title: '会员列表',
                }
            },
            {
                path: 'level',
                component: () => import('@/views/user/level.vue'),
                meta: {
                    title: '会员等级',
                }
            },
        ]
    }
]

export default userRoutes